extract Tar
suspend fun extractTar(file: Path, dest: Path? = null, vararg flags: String = arrayOf("xz")): Path
Content copied to clipboard
Extract a compressed tar archive
Parameters
file
path to the tar
dest
destination directory. Will be a temp directory if null.
flags
flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.
Sources
js source
Link copied to clipboard